#include "helpers.cuh"
void hexToRgb(unsigned int hex, float *rgb) {
	int r = ( hex >> 16 ) & 0xFF;
	int g = ( hex >> 8 ) & 0xFF;
	int b = hex & 0xFF;

	rgb[0] = r / 255.0;
	rgb[1] = g / 255.0;
	rgb[2] = b / 255.0;
}